package com.myidis.response;

import com.myidis.entity.AnalysisResult;
import com.myidis.entity.Quota;
import com.myidis.entity.User;

public class AnalysisResult_Res {
	private Quota baseQuota;
	private Quota analysisQuota;
	private int analysisType;
	private String startTime;
	private String endTime;
	private String result;
	private User analyst;
	
	public AnalysisResult_Res(Quota baseQuota, Quota analysisQuota, User user, AnalysisResult ana) {
		super();
		this.baseQuota = baseQuota;
		this.analysisQuota = analysisQuota;
		this.analysisType = ana.getAnalysisType();
		this.startTime = ana.getStartTime();
		this.endTime = ana.getEndTime();
		this.result = ana.getResult();
		this.analyst = user;
	}
	
	public AnalysisResult_Res(Quota baseQuota, Quota analysisQuota, int analysisType, String startTime, String endTime,
			String result, User analyst) {
		super();
		this.baseQuota = baseQuota;
		this.analysisQuota = analysisQuota;
		this.analysisType = analysisType;
		this.startTime = startTime;
		this.endTime = endTime;
		this.result = result;
		this.analyst = analyst;
	}
	
	public Quota getBaseQuota() {
		return baseQuota;
	}
	public void setBaseQuota(Quota baseQuota) {
		this.baseQuota = baseQuota;
	}
	public Quota getAnalysisQuota() {
		return analysisQuota;
	}
	public void setAnalysisQuota(Quota analysisQuota) {
		this.analysisQuota = analysisQuota;
	}
	public int getAnalysisType() {
		return analysisType;
	}
	public void setAnalysisType(int analysisType) {
		this.analysisType = analysisType;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public User getAnalyst() {
		return analyst;
	}
	public void setAnalyst(User analyst) {
		this.analyst = analyst;
	}
}
